package cn.haut.online_read.controller;

import cn.haut.online_read.crawler.RankingListHotSearchUrlCrawler;
import us.codecraft.webmagic.Spider;
import us.codecraft.webmagic.pipeline.ConsolePipeline;

/**
 * @author xing
 * @date 2021-04-22 11:32
 */
public class testt {
    public static void main(String[] args) {
        Spider.create(new RankingListHotSearchUrlCrawler())
                .addUrl("http://zhuishushenqi.com/ranking")
                .addPipeline(new ConsolePipeline())
                .run();

    }
}
